<!--
 - Copyright 1999-2011 Alibaba Group.
 -  
 - Licensed under the Apache License, Version 2.0 (the "License");
 - you may not use this file except in compliance with the License.
 - You may obtain a copy of the License at
 -  
 -      http://www.apache.org/licenses/LICENSE-2.0
 -  
 - Unless required by applicable law or agreed to in writing, software
 - distributed under the License is distributed on an "AS IS" BASIS,
 - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 - See the License for the specific language governing permissions and
 - limitations under the License.
-->
<assembly>
    <id>assembly</id>
    <formats>
        <format>tar.gz</format>
    </formats>
    <dependencySets>
        <dependencySet>
            <useProjectArtifact>true</useProjectArtifact><!-- 项目本身也包含在内-->
            <outputDirectory>lib</outputDirectory><!-- 指定依赖jar存放的目录-->
        </dependencySet>
    </dependencySets>
    <includeBaseDirectory>true</includeBaseDirectory>

    <fileSets>
        <fileSet>
            <directory>../../../../smart-base/smart-base-parent/smart-base-parent-server/assembly/bin</directory>
            <outputDirectory>bin</outputDirectory>
            <fileMode>0755</fileMode><!-- 系统文件权限(目录)：即用户具有读/写/执行权限，组用户和其它用户具有读写权限； -->
        </fileSet>
        <fileSet>
        	<directory>${r"${project.build.directory}"}/classes/properties</directory>
            <outputDirectory>properties</outputDirectory>
            <fileMode>0644</fileMode><!-- 系统文件权限(文件)：即用户具有读写权限，组用户和其它用户具有只读权限； -->
        </fileSet>
        <fileSet>
            <directory>src/main/resources</directory>
            <!-- 系统的文件分隔符 / 或者 \\ -->
            <outputDirectory>${r"${file.separator}"}</outputDirectory>
            <includes>
                <include>logback.xml</include>
                <include>readme.txt</include>
            </includes>
        </fileSet>
    </fileSets>

</assembly>